<html><head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class attributes" rel=Appendix href="index_attributes.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="NeuralNetwork" rel="Chapter" href="NeuralNetwork.html">
<link title="NeuralNetworkIo" rel="Chapter" href="NeuralNetworkIo.html">
<link title="Adaline" rel="Chapter" href="Adaline.html">
<link title="MlPerceptron" rel="Chapter" href="MlPerceptron.html">
<link title="SigmoidMlPerceptron" rel="Chapter" href="SigmoidMlPerceptron.html"><title>MlPerceptron.mlPerceptron</title>
</head>
<body>
<code class="code">int&nbsp;<span class="keywordsign">-&gt;</span><br>
int&nbsp;<span class="keywordsign">-&gt;</span><br>
float&nbsp;<span class="constructor">Matrix</span>.matrix&nbsp;array&nbsp;<span class="keywordsign">-&gt;</span><br>
<span class="constructor">NeuralNetwork</span>.vector&nbsp;array&nbsp;<span class="keywordsign">-&gt;</span><br>
<span class="constructor">NeuralNetwork</span>.activation&nbsp;<span class="keywordsign">-&gt;</span><br>
<span class="keyword">object</span>&nbsp;(<span class="keywordsign">'</span>a)<br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;layers&nbsp;:&nbsp;<span class="constructor">NeuralNetwork</span>.layer&nbsp;array<br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;layers_nb&nbsp;:&nbsp;int<br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;threshold&nbsp;:&nbsp;<span class="constructor">NeuralNetwork</span>.threshold<br>
&nbsp;&nbsp;<span class="keyword">method</span>&nbsp;copy&nbsp;:&nbsp;unit&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>a<br>
&nbsp;&nbsp;<span class="keyword">method</span>&nbsp;feed&nbsp;:&nbsp;float&nbsp;array&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;float&nbsp;array<br>
&nbsp;&nbsp;<span class="keyword">method</span>&nbsp;<span class="keyword">private</span>&nbsp;feedLayersSumsResults&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;float&nbsp;array&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;float&nbsp;array&nbsp;array&nbsp;*&nbsp;float&nbsp;array&nbsp;array<br>
&nbsp;&nbsp;<span class="keyword">method</span>&nbsp;getLayersNb&nbsp;:&nbsp;unit&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;int<br>
&nbsp;&nbsp;<span class="keyword">method</span>&nbsp;input_size&nbsp;:&nbsp;int<br>
&nbsp;&nbsp;<span class="keyword">method</span>&nbsp;learn&nbsp;:&nbsp;float&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;float&nbsp;array&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;float&nbsp;array&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;unit<br>
&nbsp;&nbsp;<span class="keyword">method</span>&nbsp;output_size&nbsp;:&nbsp;int<br>
&nbsp;&nbsp;<span class="keyword">method</span>&nbsp;print&nbsp;:&nbsp;unit&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;unit<br>
&nbsp;&nbsp;<span class="keyword">method</span>&nbsp;toString&nbsp;:&nbsp;unit&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;string<br>
&nbsp;&nbsp;<span class="keyword">method</span>&nbsp;writeFile&nbsp;:&nbsp;?comment:string&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;string&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;unit<br>
<span class="keyword">end</span></code></body></html>